<#include "/macro/base.ftl" />

<form id="pagerForm" method="post" action="${base}/sys/sysSafeOptions/list">
	<@pagerForm />
</form>
<style type="text/css">
	   .searchBar .searchContent li{
	   		margin-left: 30px;
	   }
</style>
<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="${base}/sys/sysSafeOptions/list" method="post">
		<div class="searchBar">
			<ul class="searchContent">
				<li>
					<label>注册否定词：</label>
					<input type="text"  name="keywords" value="${(bean.keywords)!}" placeholder="注册否定词"/>
				</li>
				<li>
					<label>密码错误限定：</label>
					<!-- <input type="text"  name="openPasswordErrorLimit" value="${(bean.openPasswordErrorLimit)!}" placeholder="输入要查询的是否启用密码错误次数超限锁定"/> -->
					<input type="radio" name="openPasswordErrorLimit"  value="1"/>关闭</input>
					<input type="radio" name="openPasswordErrorLimit"  value="2"/>启用</input>
				</li>
				<li>
					<label>密码错误次数设置：</label>
					<input type="text"  name="passwordErrorCount" value="${(bean.passwordErrorCount)!}" placeholder="密码错误次数设置"/>
				</li>
				<li>
					<label>锁定时间/分：</label>
					<input type="text"   name="lockTime" value="${(bean.lockTime)!}" placeholder="锁定时间"/>
				</li>
				
				<!-- 
				<li>
					<label>创建人：</label>
					<input type="text"   name="createUser" value="${(bean.createUser)!}" placeholder="输入要查询的创建人"/>
				</li>
				<li>
					<label>创建时间：</label>
					<input type="text" class="date"" datefmt="yyyy-MM-dd HH:mm:ss" readonly="true" name="createDate" value="${(bean.createDate?string('yyyy-MM-dd HH:mm:ss'))!}" placeholder="输入要查询的创建时间"/>
				</li>
				<li>
					<label>更新人：</label>
					<input type="text"   name="updateUser" value="${(bean.updateUser)!}" placeholder="输入要查询的更新人"/>
				</li>
				<li>
					<label>更新时间：</label>
					<input type="text" class="date"" datefmt="yyyy-MM-dd HH:mm:ss" readonly="true" name="updateDate" value="${(bean.updateDate?string('yyyy-MM-dd HH:mm:ss'))!}" placeholder="输入要查询的更新时间"/>
				</li>
				-->
			</ul>
			<div class="subBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
					<li><div class="button"><div class="buttonContent"><button type="reset">清空重输</button></div></div></li>
				</ul>
			</div>
		</div>
	</form>
</div>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li class="line">line</li>
			<li><a class="add" href="${base}/sys/sysSafeOptions/add" target="dialog"
			rel="sys_sysSafeOptions"  width="500" height="300"><span>添加</span></a></li>
			<li class="line">line</li>
			<li><a class="delete" href="${base}/sys/sysSafeOptions/delete?id={sid}" target="ajaxTodo" title="确定要删除吗？" warn="请选中要删除的数据"><span>删除</span></a></li>
			<li class="line">line</li>
			<li><a class="edit" href="${base}/sys/sysSafeOptions/edit?id={sid}" target="dialog"
			rel="sys_sysSafeOptions"  width="500" height="300" warn="请选中要修改的数据"><span>修改</span></a></li>
			<li class="line">line</li>
		</ul>
	</div>

	<div id="w_list_print">
		<table class="list" width="100%" targetType="navTab" asc="asc" desc="desc" layoutH="116">
			<thead>
				<tr>
					<th align="center" width="50">序号</th>
					<th >注册否定词</th>
					<th >密码错误次数超限锁定</th>
					<th >密码错误次数设置</th>
					<th >锁定时间/分</th>
					<th >创建人</th>
					<th orderField="create_date" class="<#if page.orderField! == 'create_date'>${ page.orderDirection}</#if>">创建时间</th>
					<!-- <th >更新人</th>
					<th orderField="update_date" class="<#if page.orderField! == 'update_date'>${ page.orderDirection}</#if>">更新时间</th> -->
					<th width="200">操作</th>
				</tr>
			</thead>
			<tbody>
				<#if (page)??>
					<#list page.list as bean>
						<tr target="sid" rel="${ bean.id?c}">
							<td align="center">${ bean_index+1}</td>
							<td>${ (bean.keywords)!}</td>
							<td> <#if bean.openPasswordErrorLimit! == '1'>启用</#if><#if bean.openPasswordErrorLimit! == '0'>关闭</#if> </td>
							<td>${ (bean.passwordErrorCount)!}</td>
							<td>${ (bean.lockTime)!}</td>
							<td>${ (bean.userName)!}</td>
							<td>${ (bean.createDate?string('yyyy-MM-dd HH:mm:ss'))!}</td>
							<!-- <td>${ (bean.updateUser)!}</td>
							<td>${ (bean.updateDate?string('yyyy-MM-dd HH:mm:ss'))!}</td> -->
							<td>
								<a title="确定要删除吗？" target="ajaxTodo" href="${base}/sys/sysSafeOptions/delete?id=${bean.id?c}" class="btnDel">删除</a>
								<a title="编辑" target="dialog" href="${base}/sys/sysSafeOptions/edit?id=${bean.id?c}"
								rel="sys_sysSafeOptions"  width="800" height="520" class="btnEdit">编辑</a>
							</td>
						</tr>
					</#list>
				<#else>
					<tr>
						<td colspan="10" align="center">暂没记录</td>
					</tr>
				</#if>
			</tbody>
		</table>
	</div>
	<@pages />
</div>
